#!-*- encoding:utf8 -*-
from django.conf.urls.defaults import *
from osmp.report import models, views

urlpatterns = patterns('',
            #--- 首页
        (r'^$', views.reportlist),
        (r'reportinfo/$', views.reportinfo),
        (r'addreport/$', views.addreport),
        (r'search/$', views.search),
        (r'reportinfo/(?P<id>\d+)/$', views.reportinfo),
        (r'pausereport/(?P<id>\d+)/$', views.pausereport),
        (r'modifyreport/(?P<id>\d+)/$', views.modifyreport),
        (r'modifyrep/$', views.modifyrep),
        (r'mailreport/$', views.mailreport),
        (r'timecontrol/$', views.timecontrol),
        (r'deletereport/(?P<id>\d+)/$', views.deletereport),
)